package com.cn.dao;

import com.cn.util.DBUtil;

public class Delete {
    public static  Boolean deleteUser(String phone){
        String sql="delete from user where phone=?";
        Object[] obj={phone};
        return DBUtil.update(sql,obj);
    }

    public static  Boolean deleteUserAccount(int  userid){
        String sql="delete  from useraccount where userid=?";
        Object[] obj={userid};
        return DBUtil.update(sql,obj);
    }
}
